Clone<T>(T[],Int32) Method
Clones the specified array to a new array.
public static Clone<>(
[] ,
int
)
'Declaration
Public Overloads Shared Function Clone(Of )( _
ByVal () As , _
ByVal As Integer _
) As
'Usage
Dim source() As
Dim length As Integer
Dim value() As
value = ArrayHelper.Clone(Of T)(source, length)
Parameters
- source
- The array source to clone.
- length
- An integer value indicates the number of elements to clone.
Type Parameters
- T
- The type of element in array.
Return Value
A T[] value represents the cloned array.